CBS 2 News reports that Winfrey was inspired to make the donation after she read about Principal Akbar Cook's "Lights On" initiative, under which the school remains open Friday nights to give students an alternative to the streets.
Winfrey's donation will fund the program through the summer.
Cook gained national notoriety after he installed laundry rooms at the school to help students who were skipping class for lack of clean clothes.
A full report on Oprah Winfrey's visit to West Side High School will be broadcast on "CBS This Morning" on Monday.
Click here to follow Daily Voice Paramus and receive free news updates.